package cn.itcast.service.impl;
import cn.itcast.domain.User;
import cn.itcast.mapper.UserMapper;
import cn.itcast.service.UserService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;


@Service
public class UserServiceImpl implements UserService {

    @Autowired private UserMapper userMapper;


    public List<User> findAll() {
        return userMapper.findAll();
    }
}
